package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.zhgd.domain.ZjOrganizationStructureTree;
import com.ruoyi.zhgd.domain.vo.ZjOrganizationStructureTreeVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 自建部门树结构Mapper接口
 *
 * @author zyb
 * @date 2023-10-11
 */
public interface ZjOrganizationStructureTreeMapper extends BaseMapperPlus<ZjOrganizationStructureTreeMapper, ZjOrganizationStructureTree, ZjOrganizationStructureTreeVo> {

//    @DataPermission({
//        @DataColumn(key = "deptName", value = "dept_id")
//    })
    List<ZjOrganizationStructureTree> selectStructureList(@Param(Constants.WRAPPER) Wrapper<ZjOrganizationStructureTree> wrapper);

}
